package com.gdpu.common;

import com.gdpu.bean.TbUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author yty
 * @since 2022-05-28 18:54
 */


@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActiveUser {
    private TbUser tbUser;

    private List<String> roles;

    private List<String> permission;

    public TbUser getTbUser() {
        return tbUser;
    }

    public void setTbUser(TbUser tbUser) {
        this.tbUser = tbUser;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public List<String> getPermission() {
        return permission;
    }

    public void setPermission(List<String> permission) {
        this.permission = permission;
    }
}
